#!/bin/bash

# /bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar.launch;"

case $RR_ID in
qtruck[1-5])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar.launch;"
;;
qtruck[6])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar_${RR_ID}.launch;"
;;
qtruck[1][1-6])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_abuzhabi_${RR_ID}.launch;"
;;
qtruck[1][7])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar_dibai.launch;"
;;
qtruck[1][8-9])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar_uk.launch;"
;;
qtruck_en[3-4])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar_${RR_ID}.launch;"
;;
qtruck[2][0-9])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar_${RR_ID}.launch;"
;;
qtruck[3][0-9])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar_${RR_ID}.launch;"
;;
qtruck[4][0-9])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar_${RR_ID}.launch;"
;;
igv[1]|igv1050)
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch hesai_lidar hesai_lidar_igv.launch;"
;;
esac